# -*- coding: utf-8 -*-
# @Author: Hebin Yang
# @Date:   2019-04-13 22:27:41
# @Last Modified by:   Hebin Yang
# @Last Modified time: 2019-04-13 22:43:06
""" 
输入天数，计算输入的天数包含的秒数
"""
# fist define some const value
HOURS_ONE_DAY = 24
MINUTES_ONE_HOUR = 60
SECONDS_ONE_MINUTES = 60
SECONDS_ONE_DAY = HOURS_ONE_DAY * MINUTES_ONE_HOUR * SECONDS_ONE_MINUTES

day_num = input("Please input day number for calc seconds:")
# input is string, convert string to int
day_num = int(day_num)
# calc seconds one day

seconds = day_num * SECONDS_ONE_DAY
# int + str is illegal, convert int --> str using str function first
print (str(day_num) + " has " + str(seconds) + "seconds")